package com.it.smartoldb.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/hello")
    public String hello() {
        return "智慧养老系统后端启动成功！";
    }
    
    @GetMapping("/status")
    public String status() {
        return "系统运行正常";
    }
} 